// 暗色主题

.blog-dark {
  transition: all 0.5s !important;
  background-color: #302f2f !important;
  background-image: linear-gradient(90deg,rgba(189, 186, 187, 0.04) 3%,transparent 0),linear-gradient(1turn,rgba(189, 186, 187, 0.04) 3%,transparent 0) !important;
  background-size: 20px 20px !important;
  background-position: 50% !important;
  background-repeat: repeat !important;
  transition: all 0.5s !important;

  // 顶部导航栏样式
  .navbar-body {
    display: flex;
    justify-content: right;
    height: 100%;
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
  }
  .navbar-item {
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    a {
      color: #fff;
    }
  
    .svg-icon {
      margin-right: 5px;
      font-size: 14px;
      color: #fff;
    }
  }
  .navbar-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px; /* 设置横线的高度 */
    border-radius: 2px;
    background-color: #fff; /* 设置横线的颜色 */
    transform: scaleX(0); /* 初始时横线不可见 */
    transition: transform 0.5s ease-in-out; /* 添加过渡效果 */
  }
  
  .navbar-item:hover::after {
    transform: scaleX(1); /* 悬停时横线出现 */
  }

  // 菜单高亮
  .navbar-active.navbar-item::after {
    transform: scaleX(1)
  }

  .navbar-item-scroll {
    font-size: 16px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    color: #fff;
    cursor: pointer;
  
    a {
      color: #fff;
    }
    .svg-icon {
      margin-right: 5px;
      font-size: 14px;
      color: #fff;
    }
  }
  
  .navbar-item-scroll::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px; /* 设置横线的高度 */
    border-radius: 2px;
    background-color: #fff; /* 设置横线的颜色 */
    transform: scaleX(0); /* 初始时横线不可见 */
    transition: transform 0.5s ease-in-out; /* 添加过渡效果 */
  }
  
  .navbar-item-scroll:hover::after {
    transform: scaleX(1); /* 悬停时横线出现 */
  }

  // 菜单高亮
  .navbar-active.navbar-item-scroll {
    a {
      color: #9999ff;
      text-shadow: 0 4px 20px #9999ff;
    }
    .svg-icon {
      color: #9999ff;
    }
  }
  .navbar-active.navbar-item-scroll::after {
    background-color: #9999ff;
    transform: scaleX(1)
  }
  
  ul {
    list-style: none;
  
    li {
      margin: 0 0.5rem;
    }
  
    a {
      display: flex;
      align-items: center;
      text-decoration: none;
    }
  }
  .blog-avatar {
    width: 60px;
    transition: all 0.5s;
    cursor: pointer;
  }
  .blog-avatar:hover {
    transform: rotate(360deg);
  }
  .logo {
    display: flex;
    align-items: center;
  
    span {
      font-weight: 700;
      margin-left: 5px;
      font-size: 18px;
      color: #fff;
    }
  }
  .logo-scroll {
    display: flex;
    align-items: center;
  
    span {
      font-weight: 700;
      margin-left: 5px;
      font-size: 18px;
      color: #fff;
    }
  }

  // 动态标签
  .dynamics-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    color: #fff;
    font-size: 16px;
    background-color: #232323;
    margin-bottom: 1.25rem;
    height: 3rem;
    border-radius: 12px;
    // border: 1px solid #000;
    transition: all 0.5s;

    .dynamics-title {
      color: #fff;
      font-weight: 700;
      font-size: 18px;
      display: flex;
      align-items: center;

      .svg-icon {
        font-size: 20px;
        margin-right: 0.7rem;
        animation-name: jump;
        animation-duration: 0.75s;
        animation-iteration-count: infinite;
        animation-direction: alternate;
      }
    }
  }

  .dynamics-container:hover {
    // border: 1px solid #9999ff;
    box-shadow: 0 2px 12px 0 rgba(153,153,255, 0.5);

    .dynamics-body {
      transition: all .3s;
      color: #9999ff;;
    }
  }

  // 博客主页
  .home-container {
    color: #fff;
    border-radius: 0.875rem;
    background-color: #232323;
    padding: 20px;

    .v-carousel__controls {
      align-items: center;
      background: rgba(0, 0, 0, 0.3) !important;
      bottom: 0;
      display: flex;
      height: 50px;
      justify-content: right;
      list-style-type: none;
      position: absolute;
      width: 100%;
      z-index: 1;
    }

    .v-item-group {
      flex: 0 1 auto;
      position: relative;
      border-radius: 10px !important;
      max-width: 100%;
      transition: 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
    }
  }
  .index_title {
    color: #9999ff;
  }

  // 精选分类标题
  .index_hot-container {
    border-bottom: 1px solid #414243;

    .index_hot-all:hover {
      color: #9999ff
    }
  }

  // 最新文章标题
  .index_article-container {
    border-bottom: 1px solid #414243;
  }
  // 单篇文章边框
  .index_article-item {
    border-bottom: 1px solid #414243;

    &> .index_article-info{
      // 文章标题
      &> .article-title> a {
        font-weight: 600;
        transition: color .35s;
        color: #999;
      }
      &> .article-title> a:hover {
        color: #9999ff;
      }
      // 文章标签
      &> .article-meta> .meta-item> .item-tags {
        color: #606266;
      }
      &> .article-meta> .meta-item> .item-tags:hover {
        color: #9999ff;
      }

      // 文章分类
      &> .article-meta> .item-category {
        color: #606266;
      }
      &> .article-meta> .item-category:hover {
        color: #9999ff;
      }
    }
  }

  .index_article-item::after {
    content: "";
    position: absolute;
    left: -1.25rem;
    top: 1rem;
    height: 2rem;
    width: 4px;
    border-radius: 2px;
    background-color: #9999ff; /* 设置横线的颜色 */
    transform: scaleY(0); /* 初始时横线不可见 */
    transition: transform 0.5s ease-in-out; /* 添加过渡效果 */
  }
  
  .index_article-item:hover::after {
    transform: scaleY(1); /* 悬停时横线出现 */
  }
  // 查看更多按钮
  .index_article-more-btn {
    background-color: #9999ff !important;
  }

  // 标签页标签列表
  .tags-container {
    &> .tags-item {
      background: #454545;
      border: 1px solid #454545;

      em {
        color: #9999ff;
      }
    }

    &> .tags-item:hover {
      transition: .5s;
      background-color: #9999ff;

      span {
        color: #ebeef5;
      }
      em {
        color: #ebeef5;
      }
    }
  }
}